package com.world.business.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.world.business.user.domain.UserKungFu;
import com.world.business.user.domain.query.UserKungFuPageRequest;
import com.world.business.user.domain.vo.UserKungFuVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户所习功法 Mapper 接口
 * </p>
 *
 * @author 邓驴
 * @since 2023-09-05
 */
@Mapper
public interface UserKungFuMapper extends BaseMapper<UserKungFu> {

    /**
     * 分页
     *
     * @param page    分页参数
     * @param request 请求参数
     * @return {@link IPage < UserKungFuVO >}
     * @author WangYX
     * @date 2023/09/06 11:44
     */
    IPage<UserKungFuVO> getPage(IPage<UserKungFu> page, @Param("request") UserKungFuPageRequest request);

}
